package com.hong.springcloud.mapper;

import com.hong.springcloud.entity.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by John on 2018/11/25.
 */
@Mapper
public interface ProductMapper {
    Product findById(Long id);
    List<Product> findAll();
    int addProduct(Product product);
}
